#ifndef CGAMEOBJECT_H
#define CGAMEOBJECT_H


#include <irrlicht.h>

/*
using namespace irr;
using namespace core;
*/

namespace MarCore
{

class CGameObject : IGameObject
{

    ///@experimental
    //! Position of stroke
    bool strokeP; //stroke position for that global logic tik.

    CGameObject* rod; //the parent

    array<CGameObject>* crank; //the children

public:

    virtual CGameObject( CGameObject* rod_, array<CGameObject>* crank )

    //! Run a tik amount.
    virtual void stroke()
    {

        strokeP =false;

        //game tik

        strokeP =true;

    };

}; //end class CGameObject

}; //end namespace MarCore

#endif // CGAMEOBJECT_H
